﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    class AirBus : Airs
    {
        private decimal _ID { get; set; }
        private string _Name { get; set; }
        private decimal _Total_passenger_capacity { get; set; }

        public AirBus() : this(null) { }
        public AirBus(string _Name) : this(_Name, 0) { }
        public AirBus(string _Name, decimal _ID) : this(_Name, _ID, 0) { }

        public AirBus(string _Name, decimal _ID, decimal _Total_passenger_capacity)
        {
            this._Name = _Name;
            this._ID = _ID;
            this._Total_passenger_capacity = _Total_passenger_capacity;
        }

        public override string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        public override decimal Total_passenger_capacity
        {
            get { return _Total_passenger_capacity; }
            set { _Total_passenger_capacity = value; }
        }

        public override decimal ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        public int _Sum_passenger_capacity()
        {
            return 0;
        }
    }
}
